﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="corpuseredit.aspx.cs" Inherits="LTJ.WebPage.UserManage.user.corpuseredit" %>
<%@ Register TagPrefix="dyj" Namespace="LTJ.Control" Assembly="LTJ.Control" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户信息编辑</title>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <link href="../css/comm.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script src="../js/prototype.js" type="text/javascript"></script>
    <script src="../js/ajaxhelper.js" type="text/javascript"></script>
    <script type="text/javascript" src="../js/common.js"></script>
    <script src="../js/jquery-choose.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="adnr">
    <fieldset>
                <legend id="opt" style="background: url(../images/icons/icon53.jpg) no-repeat 6px 50%;">
                    编辑用户信息<%=testcount%></legend>
                <table cellspacing="0" cellpadding="4" class="adtb" width="80%">
                    <tr>
                        <td width="25%"><p class="zi1">所属公司:</p>
                        </td>
                        <td>
                            <p class="zi2"><%if(opmode=="edit"){%><%=uinfo.cname%><input type="hidden" name="ajaxcorpdatalist_value" value="<%=uinfo.cid%>"/><%}else if(opmode=="add"){%><%=companyinfo.cname%><input type="hidden" name="ajaxcorpdatalist_value" value="<%=companyinfo.id%>"/><%}%></p>
                        </td>
                    </tr>
                    <tr>
                        <td><p class="zi1">登录名:</p>
                            <input type="hidden" id="uid" name="uid" value="<%=uid%>" />
                            <input type="hidden" id="opmode" name="opmode" value="<%=opmode%>" />
                        </td>
                        <td>
                            <p class="zi2"><%=uinfo.lname%><dyj:TextBox runat="server" ID="uname" CanBeNull="必填" IsReplaceInvertedComma="false" MaxLength="30"></dyj:TextBox></p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p class="zi1">真实姓名:</p>
                        </td>
                        <td>
                            <p class="zi2"><dyj:TextBox runat="server" ID="rname" CanBeNull="必填" RequiredFieldType="中文名称" MaxLength="10"></dyj:TextBox></p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p class="zi1">英文名:</p>
                        </td>
                        <td>
                            <p class="zi2"><dyj:TextBox runat="server" MaxLength="50" ID="ename" CanBeNull="必填" RequiredFieldType="英文名称"></dyj:TextBox></p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p class="zi1">性 别:</p>
                        </td>
                        <td>
                            <p class="zi2"><input type="radio" name="gender" value="1" <%if(uinfo.gender!=0){%>checked="checked"<%}%>/>男<input type="radio" name="gender" value="0" <%if(uinfo.gender==0){%>checked="checked"<%}%>/>女</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p class="zi1">联系电话:</p>
                        </td>
                        <td>
                            <p class="zi2"><dyj:TextBox runat="server" MaxLength="20" ID="phone" CanBeNull="必填" RequiredFieldType="移动手机"></dyj:TextBox></p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p class="zi1">状 态:</p>
                        </td>
                        <td>
                            <p class="zi2"><input type="radio" name="status" value="1" <%if(uinfo.status!=0||opmode=="add"){%>checked="checked"<%}%>/>正常<input type="radio" name="status" value="0" <%if(uinfo.status==0&&opmode!="add"){%>checked="checked"<%}%>/>停用</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p class="zi1">信息备注:</p>
                        </td>
                        <td>
                            <p class="zi2"><dyj:TextBox runat="server" ID="bio" TextMode="MultiLine" Height="50" Width="300"></dyj:TextBox></p>
                        </td>
                    </tr>
                    <tr>
                    <td>&nbsp;</td>
                    <td><p class="zi2"><dyj:Button runat="server" ID="edituser"/>&nbsp;&nbsp;<button class="MgButton" id="cancel" onclick="parent.Lightview.hide();"><img src="../images/del.gif"/>取 消</button></p></td>
                    </tr>
                </table>
            </fieldset>
    </div>
    </form>
</body>
<script type="text/javascript">
    jQuery(document).ready(function () {
        choose("popxg");
    });
</script>
</html>